package com.ljtg.ljtgpojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(name = "EmployeeDTO", description = "员工数据传输对象")
public class EmployeeDTO implements Serializable {

    @Schema(description = "主键", example = "1")
    private Long id;

    @Schema(description = "用户名", example = "john_doe")
    private String username;

    @Schema(description = "姓名", example = "John Doe")
    private String name;

    @Schema(description = "手机号", example = "13800138000")
    private String phone;

    @Schema(description = "性别", example = "男")
    private String sex;

    @Schema(description = "身份证号", example = "123456789012345678")
    private String idNumber;
}